@c-red: #A92123;
@c-gray: #7A7A7A;
.product-table {
  background: #FFF;
  padding: 20px;
  width: 100%;
  table-layout: fixed;
  thead {
    background: #F3F3F3;
    height: 46px;
    border: 1px solid #E0E0E0;
    color: #666666;
    line-height: 44px;
    font-size: 12px;
  }
  .td-product {
    width: 600px;
    position: relative;
    padding-left: 100px;
  }
  .td-price,
  .td-count,
  .td-total,
  .td-actions {
    width: 150px;
    text-align: center;
  }
  .td-count {
    padding: 0 15px;
  }
  .product-list {}
  .product-item {
    height: 100px;
    position: relative;
    border-bottom: 1px solid #F1F1F1;
    .image {
      width: 80px;
      height: 80px;
      display: block;
      position: absolute;
      left: 10px;
      top: 10px;
      border: 1px solid #DBDBDB;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .info {
      font-size: 13px;
      color: #6C6C6C;
      padding-left: 10px;
      .name {
        // height: 34px;
        margin-bottom: 5px;
        cursor: pointer;
      }
      .price {
        font-size: 14px;
        color: @c-red;
        line-height: 24px;
        float: left;
        margin-right: 5px;
      }
    }
    .action-quantity {
      width: 120px;
      height: 26px;
      border: 1px solid #CECECE;
      border-radius: 3px;
      position: relative;
      padding: 0 25px;
      .btn {
        display: inline-block;
        width: 26px;
        height: 26px;
        text-align: center;
        font-size: 20px;
        line-height: 23px;
        vertical-align: middle;
        background: #F5F5F5;
        border-radius: 3px;
        border: 1px solid #CECECE;
        position: absolute;
        top: -1px;
        cursor: pointer;
        &:first-child {
          left: -1px;
        }
        &:last-child {
          right: -1px;
        }
      }
      .input {
        width: 68px;
        height: 24px;
        margin-top: -1px;
        text-align: center;
        border: none;

        &:disabled{
          background: #CCC;
        }
      }
    }
    .action-delete {
      font-size: 14px;
      color: #666666;
      cursor: pointer;
    }
  }
}

.cart-footer {
  clear: both;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #FFF;
  color: #999999;
  line-height: 50px;
  padding-left: 20px;
  margin: 20px 0 30px;
  border: 1px solid #F0F0F0;
  padding-right: 200px;
  .total-final{
    text-align: right;
    padding-right: 20px;
    .product-count{
      margin-right: 20px;
    }
    .price{
      font-size: 16px;
      color: #E4393C;
    }
  }
  .btn-checkout {
    cursor: pointer;
    width: 200px;
    min-width: 120px;
    background: #A92123;
    color: #FFF;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
  }
}


.section {
  &:after {
    display: block;
    content: "";
    border-bottom: 1px solid #E6E6E6;
    left: 20px;
    right: 20px;
    position: absolute;
  }
}

.page-cart {
  background: #FFF;

  .section-title {
    font-size: 14px;
    color: #333333;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 10px;
  }
  .section-content {
    padding: 0px 20px 10px;
    font-size: 12px;
    position: relative;
  }

  .for-free-wrap {
    color: #939496;
    font-size: 13px;
    margin-top: 20px;
    padding-left: 20px;
    .bhz-checkbox {
      vertical-align: top;
      margin-right: 2px;
    }
    .tips {
      font-size: 10px;
      color: #4A90E2;
      text-decoration: underline;
      margin-left: 5px;
      display: inline;
    }
  }
  .sub-totals {
    margin-top: 20px;
    padding: 0 20px;
    font-size: 14px;
    color: @c-red;
  }

  .coupons {
    margin-top: 20px;
    padding: 10px 0;
    background: #EEFAFF;
    border: 1px solid #A1D1ED;

    .coupon-item{
      span{
        vertical-align: top;
        margin-left: 10px;
      }

      .price{
        color: #E4393C;
      }
    }
  }

  .totals {
    min-height: 40px;
    .totals-table {
      margin: 20px 0;
      float: right;
      td {
        text-align: right;
        padding: 2px 0;
      }
      .value {
        width: 110px;
        padding-right: 10px;
      }
    }
  }
}

.select-box {
  border: 1px solid #DDDDDD;
  cursor: pointer;
  position: relative;
  display: inline-block;
  min-width: 100px;
  text-align: center;
  height: 30px;
  line-height: 26px;
  margin-right: 20px;
  &:hover {
    border: 1px solid #E80015;
  }
  &.selected {
    border: 2px solid #E80015;
    &:after {
      content: "";
      position: absolute;
      bottom: 0px;
      right: 0px;
      height: 14px;
      width: 14px;
      background: url("../images/mark-check.png");
      background-size: 100%;
    }
  }
}

.page-checkout {
  background: #FFF;
  .page-content {
    border: 1px solid #F0F0F0;
  }
  .section-title {
    font-size: 14px;
    color: #333333;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 10px;
  }
  .section-content {
    padding: 0px 20px 10px;
    font-size: 12px;
    position: relative;
  }
  .addr-list-wrap {
    font-size: 12px;
    padding-left: 20px;
    .addr-table {
      table-layout: fixed;
      width: 100%;
      .addr-item {
        height: 40px;
      }
      .td-label {
        width: 200px;
        .addr-label {
          height: 30px;
          line-height: 26px;
          width: 150px;
          margin: 0 auto;
        }
      }
    }
    .info {
      margin-top: 10px;
    }
  }
  .payment-list-wrap {
    padding-left: 20px;
  }
  .section.products {
    .delivery-info {
      background: #F6F7F8;
      min-height: 100px;
      padding: 10px 20px;
      width: 320px;
      position: absolute;
      top: 0;
      bottom: 10px;
      .delivery-time {
        margin-top: 20px;
      }
    }
    .product-info {
      margin-left: 320px;
    }
  }
  .products {
    .product-table {
      background: #F3FBFE;
      .td-product {
        width: 400px;
      }
      .td-price,
      .td-count,
      .td-total,
      .td-actions {
        width: 150px;
      }
      tr.product-item {
        border: none;
      }
    }
  }
  .addition-info {
    background: #FFF;
    padding-left: 16px;
    margin-top: 10px;
    .payment {
      padding: 16px 16px 16px 0;
      .value {
        font-size: 15px;
        color: #2A2A2A;
        font-weight: bold;
      }
      border-bottom: 1px solid #DBDBDB;
    }
    .delivery {
      padding: 16px 16px 16px 0;
      .title {
        float: none;
      }
      .value {
        clear: left;
        float: none;
        font-size: 13px;
        margin-top: 12px;
        color: #6D6D6D;
        .date {
          margin-right: 10px;
        }
      }
    }
  }
  .coupon {
    margin-bottom: 20px;
    .coupon-data {
      background: #F55154;
      font-size: 12px;
      color: #FFF;
      padding: 3px 10px;
      border-radius: 5px;
    }
  }
  .invoice {
    margin-bottom: 20px;
  }
  .totals {
    min-height: 40px;
    .totals-table {
      margin: 20px 0;
      float: right;
      td {
        text-align: right;
        padding: 2px 0;
      }
      .value {
        width: 110px;
        padding-right: 10px;
      }
    }
  }
  .total-final {
    clear: both;
    background: #F4F4F4;
    height: 80px;
    padding: 10px;
    &:after {
      border-bottom: none;
    }
    .data {
      text-align: right;
      .value {
        font-size: 18px;
        font-weight: bold;
        color: #E4393C;
        width: 100px;
      }
    }
    .address {
      font-size: 12px;
      text-align: right;
      color: #999999;
      margin-top: 10px;
    }
  }
  .page-address {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    .info {
      font-size: 14px;
      color: @c-gray;
    }
  }

  .cart-footer{
    background: none;
  }
}

.page-card-list {
  background: #FFF;
  min-height: 500px;
  .content {
    padding: 10px 100px;
  }
  .card-box {
    display: inline-block;
    height: 100px;
    width: 300px;
    margin: 20px auto;
    border: 1px solid #B1B1B1;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    padding: 38px;
    background: #FFF;
    cursor: pointer;
  }

  .form-group-sms {
    .form-control {
      width: 53%;
    }
    .btn-sms {
      width: 45%;
      float: right;
      padding-top: 0;
      .btn {
        width: 100%
      }
    }
    .success-info {
      font-size: 12px;
      clear: both;
      padding-top: 5px;
    }
  }
  .pay-form-dialog {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 20px;
    form {
      .btn-wrap {
        .btn-submit {
          width: 40%;
        }
        .btn-cancel {
          width: 40%;
          float: right;
        }
      }
    }
  }
}

.page-add-card {
    background: #FFF;
    width: 600px;
    margin: 20px auto;
    background: #FFF;
    position: relative;

  .bhz-form {
    .form-group {
      margin-bottom: 10px;
      position: relative;
    }
  }

  .bhz-input {
    width: 100%;
    height: 48px;
    padding: 0;
    border: 1px solid lightgray;
    background: #fff;
    font-size: 15px;
    color: #252525;
    -webkit-appearance: none;
    border-radius: 3px;
    padding-left: 5px;
    box-sizing: border-box;
  }

  .form-group-inline{
    position: relative;
    .label{
      position: absolute;
      top: 0px;
      left: 15px;
      line-height: 46px;
      color: #666666;
      .star{
        color: @c-red;
        margin-right: 10px;
      }
    }
    .bhz-input{
      text-align: right;
      padding-right: 20px;
      padding-left: 100px;
    }
  }

  .bhz-form{
    .form-group{
      margin-bottom: 10px;
    }
  }

  .bhz-input{
    width: 100%;
    height: 48px;
    padding: 0;
    border: 1px solid lightgray;
    background: #fff;
    font-size: 15px;
    color: #252525;
    -webkit-appearance: none;
    border-radius: 5px;
    padding-left: 5px;
    box-sizing: border-box;
  }

  .input-with-icon{
    padding-left: 50px;
  }

  .bhz-checkbox-wrap{
    font-size: 12px;
  }


  .btn-wrap {
    height: 100%;
    padding-top: 12px;
    font-size: 0px;
    position: relative;
    .btn {
      display: inline-block;
      height: 48px;
      text-align: center;
      width: 106px;
      border-radius: 2px;
      background: #A92123;
      margin-right: 5px;
      line-height: 48px;
      font-size: 18px;
      color: #FFFFFF;
      &.disabled {
        background: #7A7A7A;;
      }
    }
    .btn-main,
    .btn-next {
      background: #A92123;
    }

    .btn-cancel{
      background: #ccc;
    }

    .btn-fullwidth{
      width: 100%;
    }
  }

  .btn-inline{
    display: inline-block;
  }


  .content {
    padding: 10px 100px;
  }
  .form-group-sms {
    .form-control {
      width: 53%;
    }
    .btn-sms {
      width: 45%;
      float: right;
      padding-top: 0;
      .btn {
        width: 100%
      }
    }
    .success-info {
      font-size: 12px;
      clear: both;
      padding-top: 5px;
    }
  }
  .btn-wrap .btn-submit {
    width: 100%;
  }
}

.page-payment-return{

  .page-content{
    margin-top: 20px;
    border-top: 2px solid #69CD8E;
    padding: 50px;  
    background: #FFF;
  }

  .title{
    .img-success{
      width: 35px;
      height: 35px;
    }

    font-size: 24px;
    color: #69CD8E;
  }

  .next-wrap{
    margin-top: 50px;
    padding-left: 50px;
    .btn-next{
      display: inline-block;
      height: 40px;
      line-height: 40px;
      width: 120px;
      background: #31A5E0;
      color: #FFF;
      text-align: center;
      cursor: pointer;
    }
  }
  .next-link{
    display: inline-block;
    margin-left: 20px;
    a{
      color: #2EA7E7;
      font-size: 14px;
    }
  }

  .info{
    margin-top: 50px;
    border-top: 1px dashed #E2E2E2;
    padding: 20px;
    .label{
      display: inline-block;
      font-weight: bold;
    }
    .text{
      display: inline-block;
      vertical-align: top;
      font-size: 14px;
      color: #666666;
    }
  }
}
